package com.lill.product.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lill.product.dao.IProductBaseDao;
import com.lill.product.model.ProductBaseModel;
import com.lill.product.service.IProductBaseService;

/**
 * 产品基本信息Service实现类
 *
 * @author lill
 * @date 2021-08-27 09:14:43
 */
@Service("com.lill.product.service.impl.ProductBaseServiceImpl")
public class ProductBaseServiceImpl implements IProductBaseService {
	
    @Autowired
    private IProductBaseDao productBaseDao;

    public ProductBaseModel queryObject(String id) {
        return productBaseDao.queryObject(id);
    }

    public List<ProductBaseModel> queryList(Map<String, Object> map) {
        return productBaseDao.queryList(map);
    }

    public int queryTotal(Map<String, Object> map) {
        return productBaseDao.queryTotal(map);
    }

	public int deleteLogicByMap(Map<String, Object> map) {
		return productBaseDao.deleteLogicByMap(map);
	}
}
